﻿@model Project_1.Models.ChangeInformationModel

@{
    ViewBag.Title = "Change Information";
}

<h2>ChangeInformation</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>ChangeInformationModel</legend>

        <div class="editor-label">
            @Html.LabelFor(m => m.Avatar)
        </div>
        <div class="editor-field">
            @Html.EditorFor(m => m.Avatar)
            @Html.ValidationMessageFor(m => m.Avatar)
        </div>

        <div class="editor-label">
            @Html.LabelFor(m => m.RealName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(m => m.RealName)
            @Html.ValidationMessageFor(m => m.RealName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(m => m.Email)
        </div>
        <div class="editor-field">
            @Html.EditorFor(m => m.Email)
            @Html.ValidationMessageFor(m => m.Email)
        </div>

        <div class="editor-label">
            @Html.LabelFor(m => m.Birthday)
        </div>
        <div class="editor-field">
            @Html.EditorFor(m => m.Birthday)
            @Html.ValidationMessageFor(m => m.Birthday)
        </div>

        <div class="editor-label">
            @Html.LabelFor(m => m.Gender)
        </div>
        <div class="editor-field">
            @Html.EditorFor(m => m.Gender)
            @Html.ValidationMessageFor(m => m.Gender)
        </div>

        <div class="editor-label">
            @Html.LabelFor(m => m.Phone)
        </div>
        <div class="editor-field">
            @Html.EditorFor(m => m.Phone)
            @Html.ValidationMessageFor(m => m.Phone)
        </div>

        <div class="editor-label">
            @Html.LabelFor(m => m.HomePage)
        </div>
        <div class="editor-field">
            @Html.EditorFor(m => m.HomePage)
            @Html.ValidationMessageFor(m => m.HomePage)
        </div>

        <div class="editor-label">
            @Html.LabelFor(m => m.Location)
        </div>
        <div class="editor-field">
            @Html.EditorFor(m => m.Location)
            @Html.ValidationMessageFor(m => m.Location)
        </div>

        <div class="editor-label">
            @Html.LabelFor(m => m.SubcribeUsers)
        </div>
        <div class="editor-field">
            @Html.EditorFor(m => m.SubcribeUsers)
            @Html.ValidationMessageFor(m => m.SubcribeUsers)
        </div>

        <div class="editor-label">
            @Html.LabelFor(m => m.AboutMe)
        </div>
        <div class="editor-field">
            @Html.EditorFor(m => m.AboutMe)
            @Html.ValidationMessageFor(m => m.AboutMe)
        </div>

        <div class="editor-label">
            @Html.LabelFor(m => m.CommentViewStyle)
        </div>
        <div class="editor-field">
            @Html.EditorFor(m => m.CommentViewStyle)
            @Html.ValidationMessageFor(m => m.CommentViewStyle)
        </div>

        <div class="editor-label">
            @Html.LabelFor(m => m.ListViewStyle)
        </div>
        <div class="editor-field">
            @Html.EditorFor(m => m.ListViewStyle)
            @Html.ValidationMessageFor(m => m.ListViewStyle)
        </div>

        <div class="editor-label">
            @Html.LabelFor(m => m.AllowInfoView)
        </div>
        <div class="editor-field">
            @Html.EditorFor(m => m.AllowInfoView)
            @Html.ValidationMessageFor(m => m.AllowInfoView)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}
